<!-- 嫌疑对象(龙文友) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox"
	>
	
	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="涉案嫌疑对象" />
	<ui:param name="compToggleable" value="true" />
	<ui:param name="pvb" value="#{commonContentViewBean}"/>
	<ui:param name="xydx" value="#{commonContentViewBean}"/>
	<ui:define name="compHiddens">
	 	
	</ui:define>
	
	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="caseid" />
				<ui:param name="compBean1Lable" value="案件编号" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="caseid" value="#{xydx.fields.caseno}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第二行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="glrybh" />
				<ui:param name="compBean1Lable" value="关联人员编号" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="glrybh" value="#{xydx.fields.personno}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第三行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="xm" />
				<ui:param name="compBean2Id" value="bm" />
				<ui:param name="compBean1Lable" value="姓名" />
				<ui:param name="compBean2Lable" value="别名" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="xm" value="#{xydx.fields.xm}" />
				</ui:define>
				
				<ui:define name="compBean2Content">
					<h:inputText id="bm" value="#{xydx.fields.bm}" />
				</ui:define>
			</ui:decorate>
			
			<!--  -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="xb" />
				<ui:param name="compBean2Id" value="ch" />
				<ui:param name="compBean1Lable" value="性别" />
				<ui:param name="compBean2Lable" value="绰号" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="xb" codeSetId="id_c_sz_xb"
						value="#{xydx.fields.xb}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				
				<ui:define name="compBean2Content">
					<h:inputText id="ch" value="#{xydx.fields.ch}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第四行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="sfzh" />
				<ui:param name="compBean2Id" value="tx" />
				<ui:param name="compBean1Lable" value="身份证号" />
				<ui:param name="compBean2Lable" value="体型" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="sfzh" value="#{xydx.fields.sfzh}" /> 
				</ui:define>
				
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="tx" codeSetId="id_c_sz_tx"
						value="#{xydx.fields.tx}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>
			
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="sg" />
				<ui:param name="compBean2Id" value="z" />
				<ui:param name="compBean1Lable" value="身高" />
				<ui:param name="compBean2Lable" value="至" />
				
				<ui:define name="compBean1Content">
					<h:inputText size="5" id="sg" value="#{xydx.fields.sgxx}" />
				</ui:define>
				
				<ui:define name="compBean2Content">
					<h:inputText size="5" id="z" value="#{xydx.fields.sgsx}" />CM
				</ui:define>
			</ui:decorate>
			
			<!-- 第五行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="lx" />
				<ui:param name="compBean1Lable" value="脸型" />
				<ui:param name="compBean2Id" value="ky" />
				<ui:param name="compBean2Lable" value="口音" />
				<ui:define name="compBean1Content">
				<sinox:codeSetInputTree id="lx" codeSetId="id_c_sz_lx"
						value="#{xydx.fields.lx}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
				<sinox:codeSetInputTree id="ky" codeSetId="id_c_sz_ky"
						value="#{xydx.fields.ky}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第六行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="zc" />
				<ui:param name="compBean1Lable" value="专长" />
				<ui:param name="compBean2Id" value="xx" />
				<ui:param name="compBean2Lable" value="血型" />
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="zc" codeSetId="id_c_zc"
						value="#{xydx.fields.zc}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="xx" codeSetId="id_c_sz_xx"
						value="#{xydx.fields.xx}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第七行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="qtzc" />
				<ui:param name="compBean1Lable" value="其它专长" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="qtzc" value="#{xydx.fields.qtzc}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第八行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="yztz" />
				<ui:param name="compBean1Lable" value="衣着特征" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="yztz" value="#{xydx.fields.yztz}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第九行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="qttz" />
				<ui:param name="compBean1Lable" value="其它特征" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="qttz" value="#{xydx.fields.qttz}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第十行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="xsly" />
				<ui:param name="compBean1Lable" value="线索来源" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="xsly" value="#{xydx.fields.xsly}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第十一行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single-all" />
				<ui:param name="compBean1Id" value="beizhu" />
				<ui:param name="compBean1Lable" value="备注" />
				
				<ui:define name="compBean1Content">
					<h:inputTextarea
						 style="width:100%;height:100px;overflow:auto;"
						 id="beizhu" effectDuration="400"
						 value="#{xydx.fields.beizhu}" />
				</ui:define>
			</ui:decorate>
		</ui:decorate>
		
	</ui:define>



	<ui:define name="compButtons">
		<p:commandButton
			 title="保存"
				onstart="return SinoPortal.Validation.validateForm('#{compId}_form')"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				image="./img/icons/add.png" value="保存" style="margin:5px;">
				<h:inputHidden value="#{commonContentViewBean.id}" />
				<h:inputHidden value="#{pvb.id}" />
			</p:commandButton>
		
			<p:commandButton
			 	title="重置"
				onstart="this.disabled=true"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				oncomplete="btnAction('#{pvb.id}','嫌疑对象','750','640','icons/cog_add.png','add','duty-case-scene','case_i_suspicion');"
				image="./img/icons/add.png" value="重置" style="margin:5px;">
				
			</p:commandButton>

		<p:commandButton
		 title="取消" onstart="this.disabled=true"
			onclick="#{commonContentViewBean.id}_dialog.hide();"
			image="ui-icon-disk" value="取消">
		</p:commandButton>
	</ui:define>
</ui:composition>
